projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a51fe4
)
Put email contact capture back in.
author
robertl
<robertl>
Thu, 10 Nov 2005 22:37:11 +0000
(22:37 +0000)
committer
robertl
<robertl>
Thu, 10 Nov 2005 22:37:11 +0000
(22:37 +0000)
gpx.c
patch
|
blob
|
history
diff --git
a/gpx.c
b/gpx.c
index 8753788f72eadfc750633e18e03b03c5263d8a23..d44bfd808a4dcc6865abfc1ccb3d99b376173395 100644
(file)
--- a/
gpx.c
+++ b/
gpx.c
@@
-773,6
+773,9
@@
gpx_end(void *data, const char *el)
break;
case tt_email:
gpx_add_to_global(&gpx_global->email, cdatastrp);
+ if (gpx_email == NULL) {
+ gpx_email = xstrdup(cdatastrp);
+ }
break;
case tt_url:
gpx_add_to_global(&gpx_global->url, cdatastrp);